package com.zx.map.dao.impl;

import com.zx.map.dao.SummaryInfoDao;
import com.zx.map.dao.mapper.SummaryMapper;
import com.zx.map.dao.model.SummaryInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 15-6-7
 * Time: 下午7:31
 * To change this template use File | Settings | File Templates.
 */
@Component("summaryInfoDao")
public class SummaryInfoImpl implements SummaryInfoDao{
      @Autowired
    private SummaryMapper mapper;

    @Override
    public SummaryInfo getMerchantTOUseSummary(String merchantId) {
        return mapper.getMerchantSummary(merchantId);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public SummaryInfo getOrdlogSummary(String paymentTime) {
        return mapper.getOrdlogSummary(paymentTime);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public SummaryInfo getPaymentSummary(String transDate) {
        return mapper.getPaymentSummary(transDate);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public SummaryInfo getOrdlogSettleSummary(String settleTime) {
        return mapper.getOrdlogSettleSummary(settleTime);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public SummaryInfo getManualSummary(String settleTime) {
        return mapper.getManualSummary(settleTime);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public SummaryInfo getAdjustSummary(String settleTime) {
        return mapper.getAdjustSummary(settleTime);  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public SummaryInfo getSettleSummary(String settleTime) {
        return mapper.getSettleSummary(settleTime);  //To change body of implemented methods use File | Settings | File Templates.
    }
}
